Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enh] Don't add Strict-Transport-Security header in nginx conf if using a selfsigned cert #661

Merged
merged 1 commit into from Feb 24, 2019

Conversation

alexAubin
Copy link
Member

The problem

c.f. YunoHost/issues#1310 , Firefox and probably all decent browser ignore this header anyway

Solution

Don't add the header if using a self-signed cert

PR Status

Tested on my machine™

How to test

Pull the branch, have a domain with self-signed certificate, regen nginx conf. Check a javascript console before and after on the SSO portal.

Validation

  • Principle agreement 0/2 :
  • Quick review 0/1 :
  • Simple test 0/1 :
  • Deep review 0/1 :

Copy link
Member

@frju365 frju365 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completely agree ;-)

@alexAubin alexAubin changed the title Don't add Strict-Transport-Security header in nginx conf if using a selfsigned cert [enh] Don't add Strict-Transport-Security header in nginx conf if using a selfsigned cert Feb 24, 2019
@alexAubin alexAubin merged commit 6a7a0a8 into stretch-unstable Feb 24, 2019
@alexAubin alexAubin deleted the no-strict-transport-if-selfsigned-cert branch February 24, 2019 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants